package com.example.springbootdemo.entity;

import lombok.Data;

/**
 * @ClassName: Goods
 * @Description:
 * @Author: TXW
 * @Date: 2024-03-07
 */

@Data
public class Goods {
    private int count;
    private String name;
    private String desc;
    private int discount;
    private int tax;
    private int price;
    private int totalPrice;

    public Goods() {
    }

    public Goods(int count, String name, String desc, int discount, int tax, int price, int totalPrice) {
        this.count = count;
        this.name = name;
        this.desc = desc;
        this.discount = discount;
        this.tax = tax;
        this.price = price;
        this.totalPrice = totalPrice;
    }
}
